import request from '../utils/request';

export async function login(values) {
  return request('user/login',{
    method:'post',
    data:JSON.stringify(values)
  });
}

export async function getMenu() {
  return request('menu',{
    method:'get',
  });
}
